package com.yuke.cloud.service.pmc.service;

import com.yuke.cloud.service.pmc.entity.ProdCategoryAttribute;
import com.yuke.cloud.service.pmc.entity.ProdSpecAttribute;
import com.yuke.cloud.common.core.support.IService;

import java.util.List;


/**
 * Created by zys on 2018/09/27.
 */
public interface ProdSpecAttributeService extends IService<ProdSpecAttribute> {

    List<ProdSpecAttribute> getProdSpecAttrBySpecId(Long specId);
    int deleteBySpecIds(String specIds);
    List<Long> getSpecAttributeIdsByCateAndAttr(List<ProdCategoryAttribute> prodCategoryAttributes);
    int deleteBySpecAttributeIds(List<Long> specAttributeIds);
}
